package pCloud.message.cloud;

import java.net.InetSocketAddress;

import pCloud.message.Message;

public class DataMessage extends Message{

	int ownerId;
	int value;
	
	public DataMessage(int oi, int v){
		super(null,null,null,Message.TO_CLOUD);
		this.ownerId = oi;
		this.value = v;
	}
	
	
	public int getOwnerId() {
		return ownerId;
	}


	public int getValue() {
		return value;
	}

}
